package com.dlc.beijingrfid.net.bean;

import java.util.List;

/**
 * Created by YoungeTao on 2017/7/25
 * QQ 2276559259.
 * gmail youngetao@gmail.com
 */

public class RFIDBean {
    /**
     * code : 1
     * msg : 查询成功
     * data : {"total":2,"totalpage":1,"page":"1","pages":"","list":[{"id":"3","company_id":"0","cardno":"1231","goods_id":"1","warehouse_id":"1","ware_frame_id":"1","washed":"0","title":"纯棉毛巾12*12","category_id":"1","spec_id":"1","cost":"1.00","category":"毛巾","spec":"12*12","warehouse":"1号仓库"},{"id":"1","company_id":"0","cardno":"1232","goods_id":"1","warehouse_id":"1","ware_frame_id":"1","washed":"0","title":"纯棉毛巾12*12","category_id":"1","spec_id":"1","cost":"1.00","category":"毛巾","spec":"12*12","warehouse":"1号仓库"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 2
         * totalpage : 1
         * page : 1
         * pages :
         * list : [{"id":"3","company_id":"0","cardno":"1231","goods_id":"1","warehouse_id":"1","ware_frame_id":"1","washed":"0","title":"纯棉毛巾12*12","category_id":"1","spec_id":"1","cost":"1.00","category":"毛巾","spec":"12*12","warehouse":"1号仓库"},{"id":"1","company_id":"0","cardno":"1232","goods_id":"1","warehouse_id":"1","ware_frame_id":"1","washed":"0","title":"纯棉毛巾12*12","category_id":"1","spec_id":"1","cost":"1.00","category":"毛巾","spec":"12*12","warehouse":"1号仓库"}]
         */

        private int total;
        private int totalpage;
        private String page;
        private String pages;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getPages() {
            return pages;
        }

        public void setPages(String pages) {
            this.pages = pages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 3
             * company_id : 0
             * cardno : 1231
             * goods_id : 1
             * warehouse_id : 1
             * ware_frame_id : 1
             * washed : 0
             * title : 纯棉毛巾12*12
             * category_id : 1
             * spec_id : 1
             * cost : 1.00
             * category : 毛巾
             * spec : 12*12
             * warehouse : 1号仓库
             */

            private String id;
            private String company_id;
            private String cardno;
            private String goods_id;
            private String warehouse_id;
            private String ware_frame_id;
            private String washed;
            private String title;
            private Integer category_id;
            private String spec_id;
            private String cost;
            private String category;
            private String spec;
            private String warehouse;
            private int level = 1;
            public  int state =0;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCompany_id() {
                return company_id;
            }

            public void setCompany_id(String company_id) {
                this.company_id = company_id;
            }

            public String getCardno() {
                return cardno;
            }

            public void setCardno(String cardno) {
                this.cardno = cardno;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getWarehouse_id() {
                return warehouse_id;
            }

            public void setWarehouse_id(String warehouse_id) {
                this.warehouse_id = warehouse_id;
            }

            public String getWare_frame_id() {
                return ware_frame_id;
            }

            public void setWare_frame_id(String ware_frame_id) {
                this.ware_frame_id = ware_frame_id;
            }

            public String getWashed() {
                return washed;
            }

            public void setWashed(String washed) {
                this.washed = washed;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Integer getCategory_id() {
                return category_id;
            }

            public void setCategory_id(Integer category_id) {
                this.category_id = category_id;
            }

            public String getSpec_id() {
                return spec_id;
            }

            public void setSpec_id(String spec_id) {
                this.spec_id = spec_id;
            }

            public String getCost() {
                return cost;
            }

            public void setCost(String cost) {
                this.cost = cost;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getWarehouse() {
                return warehouse;
            }

            public void setWarehouse(String warehouse) {
                this.warehouse = warehouse;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }
        }
    }
}
